Checks that Runtime.getHeapUsage works
